package com.gk.carshopsys.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;

public class Cust {
    @ExcelIgnore
    private Long id;
    @ExcelProperty(value = "客户名",index = 0)
    private String cust_name;
    @ExcelProperty(value = "性别",index = 1)
    private String sex;
    @ExcelProperty(value = "工作",index = 2)
    private String job;
    @ExcelProperty(value = "联系电话",index = 3)
    private String telphone;
    @ExcelProperty(value = "居住地址",index = 4)
    private String address;


    public Cust(){}

    public Cust(Long id, String cust_name, String sex, String job, String telphone, String address) {
        this.id = id;
        this.cust_name = cust_name;
        this.sex = sex;
        this.job = job;
        this.telphone = telphone;
        this.address = address;
    }

    public Cust(String cust_name, String sex, String job, String telphone, String address) {
        this.cust_name = cust_name;
        this.sex = sex;
        this.job = job;
        this.telphone = telphone;
        this.address = address;
    }

    public Long getid() {
        return id;
    }

    public void setid(Long cust_id) {
        this.id = cust_id;
    }

    public String getCust_name() {
        return cust_name;
    }

    public void setCust_name(String cust_name) {
        this.cust_name = cust_name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Cust{" +
                "id=" + id +
                ", cust_name='" + cust_name + '\'' +
                ", sex='" + sex + '\'' +
                ", job='" + job + '\'' +
                ", telphone='" + telphone + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
